package com.fang.mmy.items.mapper;

import com.fang.mmy.items.entity.ItemNotes;
import com.fang.mmy.items.entity.ItemOnceNotes;

import java.util.List;

public interface ItemNotesMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ItemNotes record);

    int insertSelective(ItemNotes record);

    ItemNotes selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ItemNotes record);

    int updateByPrimaryKey(ItemNotes record);

    List<ItemNotes> getAllByItemIdAndUserId(String userId, Long ItemId);
}